package com.waimai1.waimai.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (LocalGood)表实体类
 *
 * @author makejava
 * @since 2023-12-01 09:43:15
 */
@SuppressWarnings("serial")
@Data
public class LocalGood extends Model<LocalGood> {
    
    private Integer id;
    private Integer acid;
    private Integer needSend;
    private Integer shopId;
    //,分开
    private String titleImgs;
    
    private String introImgs;
    
    private String openTime;
    //{spec:name,originPrice,Price}
    private String specPrice;
    
    private String goodName;
    //商品类型
    private String sort;
    
    private Date miaoshaTime;
    
    private Integer soldNum;
    
    private Integer storeNum;
    
    private String attention;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    private String localCouponNo;
    
    private String localCouponName;
    
    private Integer pinCount;
    
    private Integer pinTime;
    //是否员工专属
    private Integer isYuangong;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getTitleImgs() {
        return titleImgs;
    }

    public void setTitleImgs(String titleImgs) {
        this.titleImgs = titleImgs;
    }

    public String getIntroImgs() {
        return introImgs;
    }

    public void setIntroImgs(String introImgs) {
        this.introImgs = introImgs;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime;
    }

    public String getSpecPrice() {
        return specPrice;
    }

    public void setSpecPrice(String specPrice) {
        this.specPrice = specPrice;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Date getMiaoshaTime() {
        return miaoshaTime;
    }

    public void setMiaoshaTime(Date miaoshaTime) {
        this.miaoshaTime = miaoshaTime;
    }

    public Integer getSoldNum() {
        return soldNum;
    }

    public void setSoldNum(Integer soldNum) {
        this.soldNum = soldNum;
    }

    public Integer getStoreNum() {
        return storeNum;
    }

    public void setStoreNum(Integer storeNum) {
        this.storeNum = storeNum;
    }

    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLocalCouponNo() {
        return localCouponNo;
    }

    public void setLocalCouponNo(String localCouponNo) {
        this.localCouponNo = localCouponNo;
    }

    public String getLocalCouponName() {
        return localCouponName;
    }

    public void setLocalCouponName(String localCouponName) {
        this.localCouponName = localCouponName;
    }

    public Integer getPinCount() {
        return pinCount;
    }

    public void setPinCount(Integer pinCount) {
        this.pinCount = pinCount;
    }

    public Integer getPinTime() {
        return pinTime;
    }

    public void setPinTime(Integer pinTime) {
        this.pinTime = pinTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

